#ifndef _HELPER_HPP
#define _HELPER_HPP

#include <vector>
#include "world.hpp"

using namespace std;

class map_chunk;

int Bresenham(int x1, int y1, int x2, int y2);

int getSugarDropId(int x, int y);

map_chunk* getFreeSpaceAround(map_chunk* pos);

vector<Object*> getObjectsInNeighborhood(map_chunk* pos);

int distance(map_chunk* A, map_chunk* B);

#endif
